<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Agents Language: C:/Users/Caio/Dropbox/Mestrado/agents-language/Compiladores/Compiladores/AbstractSyntaxTree.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Agents Language
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A Programming Language for Robots</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_5529265c7de0d44fe03237e3df773496.html">Compiladores</a></li><li class="navelem"><a class="el" href="dir_64a977d312ff032528a197ff58294cfe.html">Compiladores</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">AbstractSyntaxTree.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_abstract_syntax_tree_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef __ABSTRACT_SYNTAX_TREE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define __ABSTRACT_SYNTAX_TREE_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_a_s_t_node_8h.html">ASTNode.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_abstract_syntax_tree.html">   20</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_abstract_syntax_tree.html">AbstractSyntaxTree</a></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_abstract_syntax_tree.html#a9d7dc6c01a189926d6e9eac6004c7731">_destroyAST</a>(<a class="code" href="class_a_s_t_node.html">ASTNode</a> *node);</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_abstract_syntax_tree.html#a0677cd13b9b3ae5531e5a761b91ee761">_printAST</a>(<a class="code" href="class_a_s_t_node.html">ASTNode</a> *node, <span class="keywordtype">int</span> numTabs);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_abstract_syntax_tree.html#ad64a53c84906784fcc2b46898453e960">   40</a></span>&#160;    <a class="code" href="class_a_s_t_node.html">ASTNode</a> *<a class="code" href="class_abstract_syntax_tree.html#ad64a53c84906784fcc2b46898453e960">ast</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="class_abstract_syntax_tree.html#aaa773a72ffb1cc50d5baca48a0c0f261">AbstractSyntaxTree</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="class_abstract_syntax_tree.html#aaa773a72ffb1cc50d5baca48a0c0f261">AbstractSyntaxTree</a>(<a class="code" href="class_a_s_t_node.html">ASTNode</a> *<a class="code" href="class_abstract_syntax_tree.html#ad64a53c84906784fcc2b46898453e960">ast</a>);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="class_abstract_syntax_tree.html#ab25d4e2bc841f6c9a43cc7d9580a8e5d">~AbstractSyntaxTree</a>();</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_abstract_syntax_tree.html#a872df0d6908377841710a963935cadfe">PrintAST</a>();</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_a_s_t_node_html"><div class="ttname"><a href="class_a_s_t_node.html">ASTNode</a></div><div class="ttdoc">Abstract Syntax Tree Node. </div><div class="ttdef"><b>Definition:</b> ASTNode.h:22</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_a872df0d6908377841710a963935cadfe"><div class="ttname"><a href="class_abstract_syntax_tree.html#a872df0d6908377841710a963935cadfe">AbstractSyntaxTree::PrintAST</a></div><div class="ttdeci">void PrintAST()</div><div class="ttdoc">Print on console the AST structure. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.cpp:246</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html"><div class="ttname"><a href="class_abstract_syntax_tree.html">AbstractSyntaxTree</a></div><div class="ttdoc">Abstract Syntax Tree (AST) </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.h:20</div></div>
<div class="ttc" id="_a_s_t_node_8h_html"><div class="ttname"><a href="_a_s_t_node_8h.html">ASTNode.h</a></div><div class="ttdoc">Abstract Syntax Tree Node header. </div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_aaa773a72ffb1cc50d5baca48a0c0f261"><div class="ttname"><a href="class_abstract_syntax_tree.html#aaa773a72ffb1cc50d5baca48a0c0f261">AbstractSyntaxTree::AbstractSyntaxTree</a></div><div class="ttdeci">AbstractSyntaxTree()</div><div class="ttdoc">Default AbstractSyntaxTree constructor. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.cpp:231</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_ab25d4e2bc841f6c9a43cc7d9580a8e5d"><div class="ttname"><a href="class_abstract_syntax_tree.html#ab25d4e2bc841f6c9a43cc7d9580a8e5d">AbstractSyntaxTree::~AbstractSyntaxTree</a></div><div class="ttdeci">~AbstractSyntaxTree()</div><div class="ttdoc">AbstractSyntaxTree destructor. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.cpp:241</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_a0677cd13b9b3ae5531e5a761b91ee761"><div class="ttname"><a href="class_abstract_syntax_tree.html#a0677cd13b9b3ae5531e5a761b91ee761">AbstractSyntaxTree::_printAST</a></div><div class="ttdeci">void _printAST(ASTNode *node, int numTabs)</div><div class="ttdoc">Recursively print on console an AST structure. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.cpp:21</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_a9d7dc6c01a189926d6e9eac6004c7731"><div class="ttname"><a href="class_abstract_syntax_tree.html#a9d7dc6c01a189926d6e9eac6004c7731">AbstractSyntaxTree::_destroyAST</a></div><div class="ttdeci">void _destroyAST(ASTNode *node)</div><div class="ttdoc">Recursively destroy an AST structure. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.cpp:11</div></div>
<div class="ttc" id="class_abstract_syntax_tree_html_ad64a53c84906784fcc2b46898453e960"><div class="ttname"><a href="class_abstract_syntax_tree.html#ad64a53c84906784fcc2b46898453e960">AbstractSyntaxTree::ast</a></div><div class="ttdeci">ASTNode * ast</div><div class="ttdoc">Root node of the AST. </div><div class="ttdef"><b>Definition:</b> AbstractSyntaxTree.h:40</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Sep 22 2014 10:41:47 for Agents Language by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>
